#include "xthread_debug.h"
#include "xthread_manager.h"

namespace xge{
namespace xge_internal{

  bool ThreadDebug::IsInMainThread() {
    return ThreadManager::IsInMainThread();
  }

  bool ThreadDebug::IsInBackThread() {
    return !IsInMainThread();
  }

}// namespace xge_internal
}//namespace xge